#using <System.dll>
#include <vector>
#include <windows.h>
#include <direct.h>
#include <stdio.h>
#include "Unzipper.cpp"


using namespace std;
using namespace System;

void parseDocx(char* docxFilePath)
{
	char appDir[512];
	_getcwd(appDir, 512);

	char documentName[128];
	_splitpath(docxFilePath, NULL, NULL, documentName, NULL);

	string unzipFolderPath;
	unzipFolderPath.append(appDir).append(documentName).append("-docx");
	
	CUnzipper unzipFile(docxFilePath);
	unzipFile.UnzipTo(unzipFolderPath.c_str(), true);

	return;
}
/*
int main()
{
	string p;
	p = "path";
	System::String^ path;
	path = gcnew String(p.c_str());
//	parseDocx("C:\\users\\desima\\Desktop\\derp.docx");
}
*/